package com.x.scratch.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseModel;

@MappingTable(tableName = "SCRATCH_USER")
public class User extends BaseModel {
    @MappingColumn(columnName = "USER_ID", columnLength = 32, columnPk = true)
    private String userId;

    @MappingColumn(columnName = "USER_CODE")
    private String userCode;

    @MappingColumn(columnName = "USER_OPEN_ID")
    private String userOpenId;

    @MappingColumn(columnName = "USER_NAME")
    private String userName;

    @MappingColumn(columnName = "USER_NICK_NAME")
    private String userNickName;

    @MappingColumn(columnName = "USER_SEX")
    private Integer userSex;

    @MappingColumn(columnName = "USER_HEAD_IMG_URL")
    private String userHeadImgUrl;

    @MappingColumn(columnName = "USER_COUNTRY")
    private String userCountry;

    @MappingColumn(columnName = "USER_PROVINCE")
    private String userProvince;

    @MappingColumn(columnName = "USER_CITY")
    private String userCity;

    @MappingColumn(columnName = "USER_TOKEN")
    private String userToken;

    @MappingColumn(columnName = "USER_CREATE_TIME")
    private String userCreateTime;

    @MappingColumn(columnName = "USER_UPDATE_TIME")
    private String userUpdateTime;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getUserCode() {
        return userCode;
    }

    public void setUserCode(String userCode) {
        this.userCode = userCode;
    }

    public String getUserOpenId() {
        return userOpenId;
    }

    public void setUserOpenId(String userOpenId) {
        this.userOpenId = userOpenId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getUserNickName() {
        return userNickName;
    }

    public void setUserNickName(String userNickName) {
        this.userNickName = userNickName;
    }

    public Integer getUserSex() {
        return userSex;
    }

    public void setUserSex(Integer userSex) {
        this.userSex = userSex;
    }

    public String getUserHeadImgUrl() {
        return userHeadImgUrl;
    }

    public void setUserHeadImgUrl(String userHeadImgUrl) {
        this.userHeadImgUrl = userHeadImgUrl;
    }

    public String getUserCountry() {
        return userCountry;
    }

    public void setUserCountry(String userCountry) {
        this.userCountry = userCountry;
    }

    public String getUserProvince() {
        return userProvince;
    }

    public void setUserProvince(String userProvince) {
        this.userProvince = userProvince;
    }

    public String getUserCity() {
        return userCity;
    }

    public void setUserCity(String userCity) {
        this.userCity = userCity;
    }

    public String getUserToken() {
        return userToken;
    }

    public void setUserToken(String userToken) {
        this.userToken = userToken;
    }

    public String getUserCreateTime() {
        return userCreateTime;
    }

    public void setUserCreateTime(String userCreateTime) {
        this.userCreateTime = userCreateTime;
    }

    public String getUserUpdateTime() {
        return userUpdateTime;
    }

    public void setUserUpdateTime(String userUpdateTime) {
        this.userUpdateTime = userUpdateTime;
    }
}
